#define  _CRT_SECURE_NO_WARNINGS   1
#include "date.h"

void test()
{
	Date d1(2025,7,14);
	Date d2(2025,7,10);
	//Date d2;
	//d1.Printf();
	////d2=d1 + 40;
	//d2.Printf();
	////d1.operator-=(30);
	////d1.operator++();
	//d2 = d1++;
	//d2.Printf();
	//d1.Printf();
	//cout << d1 - d2 << endl;
}

//int GetMonthDay(int year, int month)
//{
//	assert(year > 0 && month > 0);
//	static int monthDayArray[13] = { -1, 31, 28, 31, 30, 31, 30,31, 31, 30, 31, 30, 31 };
//	if (month == 2 && ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0)))
//		return 29;
//	return monthDayArray[month];
//}
int main()
{
	 test();
	 //cout << GetMonthDay(2025, 2);
	return 0;
}